﻿#ifndef __SS_ACTOR_THREAD_H__
#define __SS_ACTOR_THREAD_H__
#include "message/ssMsgIdDef.h"
#include "thread/ssThreadBase.h"


namespace StarSeeker
{

class ssActorMgr;

class ssActorThread : public ssThreadBase
{
	friend class ssActorThreadPool;
public:
	ssActorThread(ssActorMgr& pool);
	virtual ~ssActorThread();

protected:
	virtual void ThreadMemberFunc();
	//线程启动时调用
	virtual void OnThreadRun() { return; }

protected:
	i32					m_threadId;
	i32					m_weight;
	ssActorMgr&			m_pool;
};

}
#endif
